import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import { Message } from 'element-ui'
import './assets/css/main.css'
import axios from 'axios'
// 导入第三方的表格组件
import TreeTable from 'vue-table-with-tree-grid'
// 注册为全局组件
Vue.component('tree-table', TreeTable)
axios.defaults.baseURL = 'http://192.168.43.190:8010'

Vue.prototype.$http = axios
Vue.prototype.$message = Message

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
